package com.gxgy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * @description: 图书表
 * @author: Qin Fengang
 * @date: 2021-11-11
 */
@TableName("book")
public class Book {
	
	// 图书表编号
	public final static String ID = "id";
	@TableId
	private String id;
	
	//图书名称
	public final static String BOOK_NAME = "book_name";
	@TableField("book_name")
	private String bookName;
	
	//图书类型
	public final static String BOOK_TYPE = "book_type";
	@TableField("book_type")
	private String bookType;
	
	//图书作者
	public final static String BOOK_AUTHOR = "book_author";
	@TableField("book_author")
	private String bookAuthor;
	
	//图书描述
	public final static String BOOK_DESCRIBE = "book_describe";
	@TableField("book_describe")
	private String bookDescribe;
	
	//录入日期
	public final static String enerate_TIME = "enerate_time";
	@TableField("enerate_time")
	private String enerateTime;

	public Book() {
		super();
	}

	public Book(String id, String bookName, String bookType, String bookAuthor, String bookDescribe,
			String enerateTime) {
		super();
		this.id = id;
		this.bookName = bookName;
		this.bookType = bookType;
		this.bookAuthor = bookAuthor;
		this.bookDescribe = bookDescribe;
		this.enerateTime = enerateTime;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getBookName() {
		return bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public String getBookType() {
		return bookType;
	}

	public void setBookType(String bookType) {
		this.bookType = bookType;
	}

	public String getBookAuthor() {
		return bookAuthor;
	}

	public void setBookAuthor(String bookAuthor) {
		this.bookAuthor = bookAuthor;
	}

	public String getBookDescribe() {
		return bookDescribe;
	}

	public void setBookDescribe(String bookDescribe) {
		this.bookDescribe = bookDescribe;
	}

	public String getEnerateTime() {
		return enerateTime;
	}

	public void setEnerateTime(String enerateTime) {
		this.enerateTime = enerateTime;
	}

	@Override
	public String toString() {
		return "book [id=" + id + ", bookName=" + bookName + ", bookType=" + bookType + ", bookAuthor=" + bookAuthor
				+ ", bookDescribe=" + bookDescribe + ", createTime=" + enerateTime + "]";
	}
	
	
	

}
